Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Transposition cipher</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Transposition_cipher"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/mediawiki.page.gallery.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Transposition_cipher rootpage-Transposition_cipher skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Transposition cipher</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */


.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style>

<p>In <a href="Cryptography" title="Cryptography">cryptography</a>, a <b>transposition cipher</b> (also known as a permutation cipher) is a method of encryption which scrambles the positions of characters (<i>transposition</i>) without changing the characters themselves. Transposition ciphers reorder units of <a href="Plaintext" title="Plaintext">plaintext</a> (typically characters or groups of characters) according to a regular system to produce a <a href="Ciphertext" title="Ciphertext">ciphertext</a> which is a <a href="Permutation" title="Permutation">permutation</a> of the plaintext. They differ from <a href="Substitution_cipher" title="Substitution cipher">substitution ciphers</a>, which do not change the position of units of plaintext but instead change the units themselves. Despite the difference between transposition and substitution operations, they are often combined, as in historical ciphers like the <a href="ADFGVX_cipher" title="ADFGVX cipher">ADFGVX cipher</a> or complex high-quality encryption methods like the modern <a href="Advanced_Encryption_Standard" title="Advanced Encryption Standard">Advanced Encryption Standard</a> (AES).
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="General_principle">General principle</h2></div>
<p>Plaintexts can be rearranged into a ciphertext using a <a href="Key_(cryptography)" title="Key (cryptography)">key</a>, scrambling the order of characters like the shuffled pieces of a <a href="Jigsaw_puzzle" title="Jigsaw puzzle">jigsaw puzzle</a>. The resulting message is hard to decipher without the key because there are many ways the characters can be arranged.
</p><p>For example, the plaintext "THIS IS WIKIPEDIA" could be encrypted to "TWDIP SIHII IKASE". To decipher the encrypted message without the key, an attacker could try to guess possible words and phrases like DIATHESIS, DISSIPATE, WIDTH, etc., but it would take them some time to reconstruct the plaintext because there are many combinations of letters and words. By contrast, someone with the key could reconstruct the message easily:
</p>
<pre>C I P H E R Key
1 4 5 3 2 6 Sequence (key letters in alphabetical order)
T H I S I S Plaintext
W I K I P E
D I A * * *

Ciphertext by column:
#1 TWD, #2 IP, #3 SI, #4 HII, #5 IKA, #6 SE
Ciphertext in groups of 5 for readability:
TWDIP SIHII IKASE
</pre>
<p>In practice, a message this short and with a predictable keyword would be broken almost immediately with <a href="Cryptanalysis" title="Cryptanalysis">cryptanalysis techniques</a>.
</p><p>Transposition ciphers have several vulnerabilities (see the section on "Detection and cryptanalysis" below), and small mistakes in the encipherment process can render the entire ciphertext meaningless.
</p><p>However, given the right conditions - long messages (e.g., over 100–200 letters), unpredictable contents, unique keys per message, strong transposition methods, and so on - guessing the right words could be computationally impossible without further information. In their book on codebreaking historical ciphers, Elonka Dunin and Klaus Schmeh describe double columnar transposition (see below) as "one of the best manual ciphers known".<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Rail_Fence_cipher">Rail Fence cipher</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Rail_fence_cipher" title="Rail fence cipher">Rail fence cipher</a></div>
<p>The Rail Fence cipher is a form of transposition cipher that gets its name from the way in which it is encoded. In the rail fence cipher, the plaintext is written downward and diagonally on successive "rails" of an imaginary fence, then moves up when it gets to the bottom. The message is then read off in rows. For example, using three "rails" and a message of 'WE ARE DISCOVERED FLEE AT ONCE', the encrypter writes out:
</p>
<pre>W . . . E . . . C . . . R . . . L . . . T . . . E
. E . R . D . S . O . E . E . F . E . A . O . C .
. . A . . . I . . . V . . . D . . . E . . . N . .
</pre>
<p>Then reads off:
</p>
<pre>WECRL TEERD SOEEF EAOCA IVDEN
</pre>
<p>(The cipher has broken this ciphertext up into blocks of five to help avoid errors. This is a common technique used to make the cipher more easily readable. The spacing is not related to spaces in the plaintext and so does not carry any information about the plaintext.)
</p>
<div class="mw-heading mw-heading2"><h2 id="Scytale">Scytale</h2></div>
<div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Scytale" title="Scytale">Scytale</a></div>
<p>The rail fence cipher follows a pattern similar to that of the scytale, (pronounced "SKIT-uhl-ee") a mechanical system of producing a transposition cipher used by the <a href="Ancient_Greeks" class="mw-redirect" title="Ancient Greeks">ancient Greeks</a>. The system consisted of a cylinder and a ribbon that was wrapped around the cylinder. The message to be encrypted was written on the coiled ribbon. The letters of the original message would be rearranged when the ribbon was uncoiled from the cylinder. However, the message was easily decrypted when the ribbon recoiled on a cylinder of the same diameter as the encrypting cylinder.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> Using the same example as before, if the cylinder has a radius such that only three letters can fit around its circumference, the cipherer writes out:
</p>
<pre>W . . E . . A . . R . . E . . D . . I . . S . . C
. O . . V . . E . . R . . E . . D . . F . . L . .
. . E . . E . . A . . T . . O . . N . . C . . E .
</pre>
<p>In this example, the cylinder is running horizontally and the ribbon is wrapped around vertically. Hence, the cipherer then reads off:
</p>
<pre>WOEEV EAEAR RTEEO DDNIF CSLEC
</pre>
<div class="mw-heading mw-heading2"><h2 id="Route_cipher">Route cipher</h2></div>
<p>In a route cipher, the plaintext is first written out in a grid of given dimensions, then read off in a pattern given in the key. For example, using the same plaintext that we used for <a href="Rail_fence" class="mw-redirect" title="Rail fence">rail fence</a>:
</p>
<pre>W R I O R F E O E
E E S V E L A N J
A D C E D E T C X
</pre>
<p>The key might specify "spiral inwards, clockwise, starting from the top right". That would give a cipher text of:
</p>
<pre>EJXCTEDEC DAEWRIORF EONALEVSE
</pre>
<p>Route ciphers have many more keys than a rail fence. In fact, for messages of reasonable length, the number of possible keys is potentially too great to be enumerated even by modern machinery. However, not all keys are equally good. Badly chosen routes will leave excessive chunks of plaintext, or text simply reversed, and this will give cryptanalysts a clue as to the routes.
</p><p>A variation of the route cipher was the Union Route Cipher, used by Union forces during the <a href="American_Civil_War" title="American Civil War">American Civil War</a>. This worked much like an ordinary route cipher, but transposed whole words instead of individual letters. Because this would leave certain highly sensitive words exposed, such words would first be concealed by <a href="Code_(cryptography)" title="Code (cryptography)">code</a>. The cipher clerk may also add entire null words, which were often chosen to make the ciphertext humorous.
</p>
<div class="mw-heading mw-heading2"><h2 id="Columnar_transposition">Columnar transposition</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Encryption">Encryption</h3></div>
<p>In a columnar transposition, the message is written out in rows of a fixed length, and then read out again column by column, and the columns are chosen in some scrambled order. Both the width of the rows and the permutation of the columns are usually defined by a keyword. For example, the keyword <style data-mw-deduplicate="TemplateStyles:r886049734">
/* start https://en.wikipedia.org/ */


.mw-parser-output .monospaced{font-family:monospace,monospace}


/* end https://en.wikipedia.org/ */
</style><span class="monospaced">ZEBRAS</span> is of length 6 (so the rows are of length 6), and the permutation is defined by the alphabetical order of the letters in the keyword. In this case, the order would be "6 3 2 4 1 5".
</p><p>In a regular columnar transposition cipher, any spare spaces are filled with nulls; in an irregular columnar transposition cipher, the spaces are left blank. Finally, the message is read off in columns, in the order specified by the keyword. For example, suppose we use the keyword <span class="monospaced">ZEBRAS</span> and the message <span class="monospaced">WE ARE DISCOVERED. FLEE AT ONCE</span>. In a regular columnar transposition, we write this into the grid as follows:
</p>
<pre>6 3 2 4 1 5
W E A R E D
I S C O V E
R E D F L E
E A T O N C
E Q K J E U
</pre>
<p>providing five nulls (<span class="monospaced">QKJEU</span>), these letters can be randomly selected as they just fill out the incomplete columns and are not part of the message. The ciphertext is then read off as:
</p>
<pre>EVLNE ACDTK ESEAQ ROFOJ DEECU WIREE
</pre>
<p>In the irregular case, the columns are not completed by nulls:
</p>
<pre>6 3 2 4 1 5
W E A R E D
I S C O V E
R E D F L E
E A T O N C
E
</pre>
<p>This results in the following ciphertext:
</p>
<pre>EVLNA CDTES EAROF ODEEC WIREE
</pre>
<div class="mw-heading mw-heading3"><h3 id="Decryption">Decryption</h3></div>
<p>To decipher it, the recipient has to work out the shape of the enciphering grid by dividing the message length by the key length to find the number of rows in the grid. The length of the grid's last line is given by the remainder. The key is written above the grid, and the ciphertext is written down the columns of the grid in the order given by the letters of the key. The plaintext appears on the rows. A partial decipherment of the above ciphertext, after writing in the first column:
</p>
<pre>6 3 2 4 1 5
. . . . E .
. . . . V .
. . . . L .
. . . . N .
.
</pre>
<p>In a variation, the message is blocked into segments that are the key length long and to each segment the same permutation (given by the key) is applied. This is equivalent to a columnar transposition where the read-out is by rows instead of columns.
</p>
<div class="mw-heading mw-heading3"><h3 id="History">History</h3></div>
<p>In the middle of the 17th century, <a href="Samuel_Morland" title="Samuel Morland">Samuel Morland</a> introduced an early form of columnar transposition. The technique was developed further over the next two centuries and became widely used in the late 19th and 20th centuries, notably by French military services, Japanese diplomats, and Soviet intelligence agencies.
</p><p>John Falconer's <i><a href="Cryptomenysis_Patefacta" title="Cryptomenysis Patefacta">Cryptomenysis Patefacta</a></i> (1685) contains one of the earliest known English-language explanations of a keyed columnar transposition. Falconer gives no account of the cipher's origin, but he does explain how to write the plaintext into a rectangular grid, pad the final row with null letters, and extract the columns in a secret order determined by a keyword.<sup id="cite_ref-Falconer1685_3-0" class="reference"><a href="#cite_note-Falconer1685-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p><p>Even more importantly, Falconer offers a worked method of cryptanalysis. He shows that an analyst can test different grid heights and reorder the columns by trial and error until readable text emerges, noting that the cipher preserves normal letters frequencies and is therefore susceptible to detection. He indicates that such letter frequencies can be used to detect the likely language of the text, even without knowing its contents, as letter frequencies differ between languages. Falconer does not discuss double transposition or how to solve ciphers where nulls are not provided in the final column, which suggests these were not widespread at the time.
</p><p>Columnar transposition was subsequently incorporated into more elaborate systems—most famously the double transposition used by French military and diplomatic services, Japanese and German ciphers of the First and Second World Wars, and Soviet agents—remaining in serious use into the 1950s. Falconer’s analysis anticipates many of the systematic attacks later refined against those double-stage versions, making <i>Cryptomenysis Patefacta</i> a landmark in the early literature of cryptanalysis.
</p>
<div class="mw-heading mw-heading2"><h2 id="Double_transposition">Double transposition</h2></div>
<p>A single columnar transposition could be attacked by guessing possible column lengths, writing the message out in its columns (but in the wrong order, as the key is not yet known), and then looking for possible <a href="Anagram" title="Anagram">anagrams</a>. Thus to make it stronger, a double transposition was often used. This is simply a columnar transposition applied twice. The same key can be used for both transpositions, or two different keys can be used.
</p>
<div class="mw-heading mw-heading3"><h3 id="Visual_demonstration_of_double_transposition">Visual demonstration of double transposition</h3></div><p>
In the following example, we use the keys <b>JANEAUSTEN</b> and <b>AEROPLANES</b> to encrypt the following plaintext: "<b>Transposition ciphers scramble letters like puzzle pieces to create an indecipherable arrangement."</b></p><ul class="gallery mw-gallery-traditional" style="max-width: 815px;">
<li class="gallerybox" style="width: 155px">
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"></span></div>
<div class="gallerytext"><b>Step 1:</b> The plaintext message is written into the first grid (which has the key JANEAUSTEN).</div>
</li>
<li class="gallerybox" style="width: 155px">
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"></span></div>
<div class="gallerytext">The columns are read off in alphabetical order according to the key, into the next grid (see step 2).</div>
</li>
<li class="gallerybox" style="width: 155px">
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"></span></div>
<div class="gallerytext"><b>Step 2:</b> The columns from step 1 are written into the second grid (which has the key AEROPLANES).</div>
</li>
<li class="gallerybox" style="width: 155px">
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"></span></div>
<div class="gallerytext">The columns are read off in alphabetical order according to the key, into the next grid (see step 3).</div>
</li>
<li class="gallerybox" style="width: 155px">
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"></span></div>
<div class="gallerytext"><b>Step 3:</b> The ciphertext is often written out in blocks of 5, e.g. <b>RIAES NNELI EEIRP</b> etc.</div>
</li>
</ul><p>The colors show how the letters are scrambled in each transposition step. While a single step only causes a minor rearrangement, the second step leads to a significant scrambling effect if the last row of the grid is incomplete.
</p><div class="mw-heading mw-heading3"><h3 id="Another_example">Another example</h3></div>
<p>As an example, we can take the result of the irregular columnar transposition in the previous section, and perform a second encryption with a different keyword, <span class="monospaced">STRIPE</span>, which gives the permutation "564231":
</p>
<pre>5 6 4 2 3 1
E V L N A C
D T E S E A
R O F O D E
E C W I R E
E
</pre>
<p>As before, this is read off columnwise to give the ciphertext:
</p>
<pre>CAEEN SOIAE DRLEF WEDRE EVTOC
</pre>
<p>If multiple messages of exactly the same length are encrypted using the same keys, they can be anagrammed simultaneously. This can lead to both recovery of the messages, and to recovery of the keys (so that every other message sent with those keys can be read).
</p><p>During <a href="World_War_I" title="World War I">World War I</a>, the German military used a double columnar transposition cipher, changing the keys infrequently. The system was regularly solved by the French, naming it Übchi, who were typically able to quickly find the keys once they'd intercepted a number of messages of the same length, which generally took only a few days. However, the French success became widely known and, after a publication in <i><a href="Le_Matin_(France)" title="Le Matin (France)">Le Matin</a></i>, the Germans changed to a new system on 18 November 1914.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>
</p><p>During World War II, the double transposition cipher was used by <a href="Netherlands_in_World_War_II#Oppression_and_resistance" title="Netherlands in World War II">Dutch Resistance</a> groups, the French <a href="Maquis_(World_War_II)" title="Maquis (World War II)">Maquis</a> and the British <a href="Special_Operations_Executive" title="Special Operations Executive">Special Operations Executive</a> (SOE), which was in charge of managing underground activities in Europe.<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> It was also used by agents of the American <a href="Office_of_Strategic_Services" title="Office of Strategic Services">Office of Strategic Services</a><sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> and as an emergency cipher for the German Army and Navy.
</p><p>Until the invention of the <a href="VIC_cipher" title="VIC cipher">VIC cipher</a>, double transposition was generally regarded as the most complicated cipher that an agent could operate reliably under difficult field conditions.
</p>
<div class="mw-heading mw-heading3"><h3 id="Cryptanalysis">Cryptanalysis</h3></div>
<p>The double transposition cipher can be treated as a single transposition with a key as long as the product of the lengths of the two keys.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup>
</p><p>In late 2013, a double transposition challenge, regarded by its author as undecipherable, was solved by George Lasry using a divide-and-conquer approach where each transposition was attacked individually.<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Myszkowski_transposition">Myszkowski transposition</h2></div>
<p>A variant form of columnar transposition, proposed by Émile Victor Théodore Myszkowski in 1902, requires a keyword with recurrent letters. In usual practice, subsequent occurrences of a keyword letter are treated as if the next letter in alphabetical order, <i>e.g.,</i> the keyword TOMATO yields a numeric keystring of "532164."
</p><p>In Myszkowski transposition, recurrent keyword letters are numbered identically, TOMATO yielding a keystring of "432143."
</p>
<pre>4 3 2 1 4 3
W E A R E D
I S C O V E
R E D F L E
E A T O N C
E
</pre>
<p>Plaintext columns with unique numbers are transcribed downward;
those with recurring numbers are transcribed left to right:
</p>
<pre>ROFOA CDTED SEEEA CWEIV RLENE
</pre>
<div class="mw-heading mw-heading2"><h2 id="Disrupted_transposition">Disrupted transposition</h2></div>
<p>A disrupted transposition cipher<sup id="cite_ref-mahalakshmi_9-0" class="reference"><a href="#cite_note-mahalakshmi-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> further complicates the transposition pattern with irregular filling of the rows of the matrix, i.e. with some spaces intentionally left blank (or blackened out like in the <a href="Rasterschl%C3%BCssel_44" title="Rasterschlüssel 44">Rasterschlüssel 44</a>), or filled later with either another part of the plaintext or random letters.<sup id="cite_ref-mahalakshmi_9-1" class="reference"><a href="#cite_note-mahalakshmi-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading3"><h3 id="Comb_approach">Comb approach</h3></div>
<p>This method (attributed to Gen. <a href="Luigi_Sacco" title="Luigi Sacco">Luigi Sacco</a><sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup>) starts a new row once the plaintext reaches a column whose key number is equal to the current row number. This produces irregular row lengths. For example,
</p>
<pre>F O R E V E R J I G S A W &lt; Key
4 8 9 2 12 3 10 7 6 5 11 1 13 Blanks after no.:
C O M P L I C A T E S T * 1
H E T R * * * * * * * * * 2
A N S P O S * * * * * * * 3
I * * * * * * * * * * * * 4
T I O N P A T T E R * * * 5
N L I K E A C O M * * * * 6
B _ _ _ _ _ _ _ * * * * * 7
</pre>
<p>The columns are then taken off as per regular columnar transposition: TPRPN, KISAA, CHAIT, NBERT, EMATO, etc.
</p>
<div class="mw-heading mw-heading3"><h3 id="Numerical_sequence_approach">Numerical sequence approach</h3></div>
<p>Another simple option<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> would be to use a password that places blanks according to its number sequence. E.g. "SECRET" would be decoded to a sequence of "5,2,1,4,3,6" and cross out the 5th field of the matrix, then count again and cross out the second field, etc. The following example would be a matrix set up for columnar transposition with the columnar key "CRYPTO" and filled with crossed out fields according to the disruption key "SECRET" (marked with an asterisk), whereafter the message "we are discovered, flee at once" is placed in the leftover spaces. The resulting ciphertext (the columns read according to the transposition key) is "WCEEO ERET RIVFC EODN SELE ADA".
</p>
<pre>C R Y P T O
1 4 6 3 5 2
W E A R * E
* * D I S *
C O * V E R
E D * F L E
E * A * * T
O N * C E *
</pre>
<div class="mw-heading mw-heading2"><h2 id="Grilles">Grilles</h2></div>
<div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Grille_(cryptography)" title="Grille (cryptography)">Grille (cryptography)</a></div>
<p>Another form of transposition cipher uses <i>grilles</i>, or physical masks with cut-outs. This can produce a highly irregular transposition over the period specified by the size of the grille, but requires the correspondents to keep a physical key secret. Grilles were first proposed in 1550, and were still in military use for the first few months of World War One.
</p>
<div class="mw-heading mw-heading2"><h2 id="Detection_and_cryptanalysis">Detection and cryptanalysis</h2></div>
<p>Since transposition does not affect the frequency of individual symbols, simple transposition can be easily detected by the <a href="Cryptanalysis" title="Cryptanalysis">cryptanalyst</a> by doing a frequency count. If the ciphertext exhibits a <a href="Frequency_distribution" class="mw-redirect" title="Frequency distribution">frequency distribution</a> very similar to plaintext, it is most likely a transposition.
</p><p>In general, transposition methods are vulnerable to <a href="Anagram" title="Anagram">anagramming</a>—sliding pieces of ciphertext around, then looking for sections that look like anagrams of words in English or whatever language the plaintext was written in, and solving the anagrams. Once such anagrams have been found, they reveal information about the transposition pattern, and can consequently be extended. Simpler transpositions often suffer from the property that keys very close to the correct key will reveal long sections of legible plaintext interspersed by gibberish. Consequently, such ciphers may be vulnerable to optimum seeking algorithms such as <a href="Genetic_algorithm" title="Genetic algorithm">genetic algorithms</a><sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> and <a href="Hill_climbing" title="Hill climbing">hill-climbing algorithms</a>.<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup>
</p><p>There are several specific methods for attacking messages encoded using a transposition cipher. These include:
</p>
<ol><li><b><a href="Known-plaintext_attack" title="Known-plaintext attack">Known-plaintext attack</a>:</b> Using known or guessed parts of the plaintext (e.g. names, places, dates, numbers, phrases) to assist in reverse-engineering the likely order of columns used to carry out the transposition and/or the likely topic of the plaintext.</li>
<li><b><a href="Brute-force_attack" title="Brute-force attack">Brute-force attack</a>:</b> If keys are derived from dictionary words or phrases from books or other publicly available sources, it may be possible to brute-force the solution by attempting billions of possible words, word combinations, and phrases as keys.</li>
<li><b>Depth attack:</b> If two or more messages of the same length are encoded with the same keys, the messages can be aligned and anagrammed until the messages show meaningful text in the same places, without needing to know the transposition steps that have taken place.</li>
<li><b>Statistical attack:</b> Statistics about the frequency of 2-letter, 3-letter, etc. combinations in a language can be used to inform a scoring function in an algorithm that gradually reverses possible transpositions based on which changes would produce the most likely combinations. For example, the 2-letter pair QU is more common than QT in English text, so a cryptanalyst will attempt transpositions that place QU together.</li></ol>
<p>The third method was developed in 1878 by mathematician <a href="Edward_S._Holden" title="Edward S. Holden">Edward S. Holden</a> and <a href="New-York_Tribune" title="New-York Tribune">New-York Tribune</a> journalists <a href="John_R._G._Hassard" title="John R. G. Hassard">John R. G. Hassard</a> and William M. Grosvenor who managed to deciphere telegrams between the <a href="Democratic_Party_(United_States)" title="Democratic Party (United States)">Democratic Party</a> and their operatives in the Southern states during the <a href="1876_presidential_election" class="mw-redirect" title="1876 presidential election">1876 presidential election</a> and thus prove facts of <a href="Vote_buying" title="Vote buying">vote buying</a>, influencing the <a href="1878%E2%80%9379_United_States_House_of_Representatives_elections" title="1878–79 United States House of Representatives elections">1878-1879 congressional elections</a>.<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup>
</p><p>A detailed description of the cryptanalysis of a German transposition cipher
can be found in chapter 7 of Herbert Yardley's "The American Black Chamber."
</p><p>A cipher used by the <a href="Zodiac_Killer" title="Zodiac Killer">Zodiac Killer</a>, called "Z-340", organized into triangular sections with substitution of 63 different symbols for the letters and diagonal "knight move" transposition, remained unsolved for over 51 years, until an international team of private citizens cracked it on December 5, 2020, using specialized software.<sup id="cite_ref-:0_16-0" class="reference"><a href="#cite_note-:0-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Combinations">Combinations</h2></div>
<p>Transposition is often combined with other techniques such as evaluation methods. For example, a simple <a href="Substitution_cipher" title="Substitution cipher">substitution cipher</a> combined with a columnar transposition avoids the weakness of both. Replacing high frequency ciphertext symbols with high frequency plaintext letters does not reveal chunks of plaintext because of the transposition. Anagramming the transposition does not work because of the substitution. The technique is particularly powerful if combined with fractionation (see below). A disadvantage is that such ciphers are considerably more laborious and error prone than simpler ciphers.
</p>
<div class="mw-heading mw-heading2"><h2 id="Fractionation">Fractionation</h2></div>
<p>Transposition is particularly effective when employed with fractionation – that is, a preliminary stage that divides each plaintext symbol into two or more ciphertext symbols. For example, the plaintext alphabet could be written out in a grid, and every letter in the message replaced by its co-ordinates (see <a href="Polybius_square" title="Polybius square">Polybius square</a> and <a href="Straddling_checkerboard" title="Straddling checkerboard">Straddling checkerboard</a>).<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup>
Another method of fractionation is to simply convert the message to <a href="Morse_code" title="Morse code">Morse code</a>, with a symbol for spaces as well as dots and dashes.<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup>
</p><p>When such a fractionated message is transposed, the components of individual letters become widely separated in the message, thus achieving <a href="Claude_E._Shannon" class="mw-redirect" title="Claude E. Shannon">Claude E. Shannon</a>'s <a href="Confusion_and_diffusion" title="Confusion and diffusion">diffusion</a>. Examples of ciphers that combine fractionation and transposition include the <a href="Bifid_cipher" title="Bifid cipher">bifid cipher</a>, the <a href="Trifid_cipher" title="Trifid cipher">trifid cipher</a>, the <a href="ADFGVX_cipher" title="ADFGVX cipher">ADFGVX cipher</a> and the <a href="VIC_cipher" title="VIC cipher">VIC cipher</a>.
</p><p>Another choice would be to replace each letter with its binary representation, transpose that, and then convert the new binary string into the corresponding ASCII characters. Looping the scrambling process on the binary string multiple times before changing it into ASCII characters would likely make it harder to break. Many modern <a href="Block_cipher" title="Block cipher">block ciphers</a> use more complex forms of transposition related to this simple idea.
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Substitution_cipher" title="Substitution cipher">Substitution cipher</a></li>
<li><a href="Ban_(unit)" class="mw-redirect" title="Ban (unit)">Ban (unit)</a></li>
<li><a href="Topics_in_cryptography" class="mw-redirect" title="Topics in cryptography">Topics in cryptography</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */


.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}


/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap mw-references-columns"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFElonkaSchmeh2020" class="citation book cs1">Elonka, Dunin; Schmeh, Klaus (2020). <a rel="nofollow" class="external text" href="http://worldcat.org/oclc/1158165142"><i>Codebreaking: A Practical Guide</i></a>. Robinson. p.&nbsp;247. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-1-4721-4421-8</bdi>. <a href="OCLC_(identifier)" class="mw-redirect" title="OCLC (identifier)">OCLC</a>&nbsp;<a rel="nofollow" class="external text" href="https://search.worldcat.org/oclc/1158165142">1158165142</a>.</cite></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite id="CITEREFSmith1955" class="citation cs2">Smith, Laurence Dwight (1955) [1943], <i>Cryptography / The Science of Secret Writing</i>, New York: Dover, pp.&nbsp;16, <span class="nowrap">92–</span>93</cite></span>
</li>
<li id="cite_note-Falconer1685-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-Falconer1685_3-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFFalconer1685" class="citation book cs1">Falconer, John (1685). <a rel="nofollow" class="external text" href="https://archive.org/details/cryptomenysispat00falc/page/62/mode/2up"><i>Cryptomenysis Patefacta; or, </i>The Art of Secret Information Disclosed Without a Key<i></i></a>. London: Daniel Brown. p.&nbsp;62.</cite></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text">Kahn, pp. 301-304.</span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text">Kahn, pp. 535 and 539.</span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text">Kahn, p. 539.</span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><cite id="CITEREFBarker1995" class="citation book cs1">Barker, Wayne (1995). <i>Cryptanalysis of the Double Transposition Cipher: Includes Problems and Computer Programs</i>. Aegean Park Press.</cite></span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite id="CITEREFLasry2014" class="citation journal cs1">Lasry, George (2014-06-13). "Solving the Double Transposition Challenge with a Divide-and-Conquer Approach". <i>Cryptologia</i>. <b>38</b> (3): <span class="nowrap">197–</span>214. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1080%2F01611194.2014.915269">10.1080/01611194.2014.915269</a>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&nbsp;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:7946904">7946904</a>.</cite></span>
</li>
<li id="cite_note-mahalakshmi-9"><span class="mw-cite-backlink">^ <a href="#cite_ref-mahalakshmi_9-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-mahalakshmi_9-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFMahalakshmi2016" class="citation journal cs1">Mahalakshmi, B. (June 2016). <a rel="nofollow" class="external text" href="https://www.ijcaonline.org/archives/volume143/number13/mahalakshmi-2016-ijca-910308.pdf">"An Overview on Disrupted Transposition Cipher for Security Enhancement"</a> <span class="cs1-format">(PDF)</span>. <i>International Journal of Computer Applications</i>. <b>143</b> (13): <span class="nowrap">9–</span>12. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.5120%2Fijca2016910308">10.5120/ijca2016910308</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20180604051237/http://www.ijcaonline.org/archives/volume143/number13/mahalakshmi-2016-ijca-910308.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2018-06-04<span class="reference-accessdate">. Retrieved <span class="nowrap">7 January</span> 2021</span>.</cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite id="CITEREFSavard" class="citation web cs1">Savard, John. <a rel="nofollow" class="external text" href="http://www.quadibloc.com/crypto/pp0102.htm">"Methods of Transposition"</a>. <i>A Cryptographic Compendium</i><span class="reference-accessdate">. Retrieved <span class="nowrap">27 June</span> 2023</span>.</cite></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite id="CITEREFjdege2014" class="citation web cs1">jdege (11 November 2014). <a rel="nofollow" class="external text" href="https://www.tapatalk.com/groups/crypto/a-simple-disrupted-transposition-t1074.html">"A simple disrupted transposition"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">7 January</span> 2021</span>.</cite></span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite id="CITEREFMatthews1993" class="citation journal cs1">Matthews, Robert A. J. (April 1993). "The Use of Genetic Algorithms in Cryptanalysis". <i>Cryptologia</i>. <b>17</b> (2): <span class="nowrap">187–</span>201. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1080%2F0161-119391867863">10.1080/0161-119391867863</a>.</cite></span>
</li>
<li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><cite id="CITEREFLasryKopalWacker2014" class="citation journal cs1">Lasry, George; Kopal, Nils; Wacker, Arno (2014-07-03). <span class="id-lock-subscription" title="Paid subscription required"><a rel="nofollow" class="external text" href="http://www.tandfonline.com/doi/abs/10.1080/01611194.2014.915269">"Solving the Double Transposition Challenge with a Divide-and-Conquer Approach"</a></span>. <i>Cryptologia</i>. <b>38</b> (3): <span class="nowrap">197–</span>214. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1080%2F01611194.2014.915269">10.1080/01611194.2014.915269</a>. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a>&nbsp;<a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0161-1194">0161-1194</a>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&nbsp;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:7946904">7946904</a>.</cite></span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><cite id="CITEREFLasryKopalWacker2016" class="citation journal cs1">Lasry, George; Kopal, Nils; Wacker, Arno (2016-07-03). <span class="id-lock-subscription" title="Paid subscription required"><a rel="nofollow" class="external text" href="http://www.tandfonline.com/doi/full/10.1080/01611194.2015.1087074">"Cryptanalysis of columnar transposition cipher with long keys"</a></span>. <i>Cryptologia</i>. <b>40</b> (4): <span class="nowrap">374–</span>398. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1080%2F01611194.2015.1087074">10.1080/01611194.2015.1087074</a>. <a href="ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a>&nbsp;<a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0161-1194">0161-1194</a>. <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&nbsp;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:21179886">21179886</a>.</cite></span>
</li>
<li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://vc.airvectors.net/ttcode_03.html#m3">"[3.0] The Rise Of Field Ciphers"</a>. <i>vc.airvectors.net</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-01-11</span></span>.</cite></span>
</li>
<li id="cite_note-:0-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-:0_16-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://arstechnica.com/information-technology/2020/12/zodiac-killer-cipher-is-cracked-after-eluding-sleuths-for-51-years/">"Zodiac Killer cipher is cracked after eluding sleuths for 51 years"</a>. <i>arstechnica.com</i>. 2020-12-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2020-12-12</span></span>.</cite></span>
</li>
<li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text">
Daniel Rodriguez-Clark.
<a rel="nofollow" class="external text" href="https://crypto.interactive-maths.com/transposing-fractionated-text.html">"Transposing Fractionated Ciphertext"</a>.</span>
</li>
<li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text">
James Lyons.
<a rel="nofollow" class="external text" href="http://practicalcryptography.com/ciphers/classical-era/fractionated-morse/">"Fractionated Morse Cipher"</a>.</span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<ul><li>Kahn, David. The Codebreakers: The Story of Secret Writing. Rev Sub. Scribner, 1996.</li>
<li>Yardley, Herbert. The American Black Chamber. Bobbs-Merrill, 1931.</li></ul>
<div style="clear:both;" class=""></div>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}


/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}


/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox" aria-label="Navbox0" style="padding:3px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Classical_cryptography133" style="font-size:114%;margin:0 4em"><a href="Classical_cipher" title="Classical cipher">Classical cryptography</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Cipher" title="Cipher">Ciphers</a><br>by family</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;"><a href="Polyalphabetic_cipher" title="Polyalphabetic cipher">Polyalphabetic</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Alberti_cipher" title="Alberti cipher">Alberti</a></li>
<li><a href="Enigma_machine" title="Enigma machine">Enigma</a></li>
<li><a href="Trithemius_cipher" class="mw-redirect" title="Trithemius cipher">Trithemius</a></li>
<li><a href="Vigen%C3%A8re_cipher" title="Vigenère cipher">Vigenère</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;"><a href="Polybius_square" title="Polybius square">Polybius square</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="ADFGVX_cipher" title="ADFGVX cipher">ADFGVX</a></li>
<li><a href="Bifid_cipher" title="Bifid cipher">Bifid</a></li>
<li><a href="Nihilist_cipher" title="Nihilist cipher">Nihilist</a></li>
<li><a href="Tap_code" title="Tap code">Tap code</a></li>
<li><a href="Trifid_cipher" title="Trifid cipher">Trifid</a></li>
<li><a href="VIC_cipher" title="VIC cipher">VIC cipher</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;">Square</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Playfair_cipher" title="Playfair cipher">Playfair</a></li>
<li><a href="Two-square_cipher" title="Two-square cipher">Two-square</a></li>
<li><a href="Four-square_cipher" title="Four-square cipher">Four-square</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;"><a href="Substitution_cipher" title="Substitution cipher">Substitution</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Affine_cipher" title="Affine cipher">Affine</a></li>
<li><a href="Atbash" title="Atbash">Atbash</a></li>
<li><a href="Autokey_cipher" title="Autokey cipher">Autokey</a></li>
<li><a href="Beaufort_cipher" title="Beaufort cipher">Beaufort</a></li>
<li><a href="Caesar_cipher" title="Caesar cipher">Caesar</a></li>
<li><a href="Chaocipher" title="Chaocipher">Chaocipher</a></li>
<li><a href="Great_Cipher" title="Great Cipher">Great</a></li>
<li><a href="Hill_cipher" title="Hill cipher">Hill</a></li>
<li><a href="Pigpen_cipher" title="Pigpen cipher">Pigpen</a></li>
<li><a href="ROT13" title="ROT13">ROT13</a></li>
<li><a href="Running_key_cipher" title="Running key cipher">Running key</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;"></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a class="mw-selflink-fragment" href="#Columnar_transposition">Columnar</a></li>
<li><a class="mw-selflink-fragment" href="#Double_transposition">Double</a></li>
<li><a class="mw-selflink-fragment" href="#Myszkowski_transposition">Myszkowski</a></li>
<li><a href="Rail_fence_cipher" title="Rail fence cipher">Rail fence</a></li>
<li><a class="mw-selflink-fragment" href="#Route_cipher">Route</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;font-weight:normal;">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="BATCO" title="BATCO">BATCO</a></li>
<li><a href="DRYAD" title="DRYAD">DRYAD</a></li>
<li><a href="Mlecchita_vikalpa" title="Mlecchita vikalpa">Kama Sutra</a></li>
<li><a href="One-time_pad" title="One-time pad">One-time pad</a></li>
<li><a href="Rasterschl%C3%BCssel_44" title="Rasterschlüssel 44">Rasterschlüssel 44</a></li>
<li><a href="Reihenschieber" title="Reihenschieber">Reihenschieber</a></li>
<li><a href="Reservehandverfahren" title="Reservehandverfahren">Reservehandverfahren</a></li>
<li><a href="Slidex" title="Slidex">Slidex</a></li>
<li><a href="Solitaire_(cipher)" title="Solitaire (cipher)">Solitaire</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Code_(cryptography)" title="Code (cryptography)">Codes</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Book_cipher" title="Book cipher">Book</a></li>
<li><a href="Code_talker" title="Code talker">Code talker</a></li>
<li><a href="Poem_code" title="Poem code">Poem</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Steganography" title="Steganography">Steganography</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Bacon's_cipher" title="Bacon's cipher">Bacon</a></li>
<li><a href="Grille_(cryptography)" title="Grille (cryptography)">Grille</a></li>
<li><a href="Null_cipher" title="Null cipher">Null</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Cryptanalysis</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cryptogram" title="Cryptogram">Cryptogram</a></li>
<li><a href="Frequency_analysis" title="Frequency analysis">Frequency analysis</a></li>
<li><a href="Index_of_coincidence" title="Index of coincidence">Index of coincidence</a> (Units: <a href="Hartley_(unit)" title="Hartley (unit)">Ban</a> and <a href="Nat_(unit)" title="Nat (unit)">Nat</a>)</li>
<li><a href="Information_leakage" title="Information leakage">Information leakage</a></li>
<li><a href="Kasiski_examination" title="Kasiski examination">Kasiski examination</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr></tbody></table><div></div></td></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks mw-collapsible mw-collapsed navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Cryptography149" style="font-size:114%;margin:0 4em"><a href="Cryptography" title="Cryptography">Cryptography</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">General</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="History_of_cryptography" title="History of cryptography">History of cryptography</a></li>
<li><a href="Outline_of_cryptography" title="Outline of cryptography">Outline of cryptography</a></li>
<li><a href="Classical_cipher" title="Classical cipher">Classical cipher</a></li>
<li><a href="Cryptographic_protocol" title="Cryptographic protocol">Cryptographic protocol</a>
<ul><li><a href="Authentication_protocol" title="Authentication protocol">Authentication protocol</a></li></ul></li>
<li><a href="Cryptographic_primitive" title="Cryptographic primitive">Cryptographic primitive</a></li>
<li><a href="Cryptanalysis" title="Cryptanalysis">Cryptanalysis</a></li>
<li><a href="Cryptocurrency" title="Cryptocurrency">Cryptocurrency</a></li>
<li><a href="Cryptosystem" title="Cryptosystem">Cryptosystem</a></li>
<li><a href="Cryptographic_nonce" title="Cryptographic nonce">Cryptographic nonce</a></li>
<li><a href="Cryptovirology" title="Cryptovirology">Cryptovirology</a></li>
<li><a href="Hash_function" title="Hash function">Hash function</a>
<ul><li><a href="Cryptographic_hash_function" title="Cryptographic hash function">Cryptographic hash function</a></li>
<li><a href="Key_derivation_function" title="Key derivation function">Key derivation function</a></li>
<li><a href="Secure_Hash_Algorithms" title="Secure Hash Algorithms">Secure Hash Algorithms</a></li></ul></li>
<li><a href="Digital_signature" title="Digital signature">Digital signature</a></li>
<li><a href="Kleptography" title="Kleptography">Kleptography</a></li>
<li><a href="Key_(cryptography)" title="Key (cryptography)">Key (cryptography)</a></li>
<li><a href="Key_exchange" title="Key exchange">Key exchange</a></li>
<li><a href="Key_generator" title="Key generator">Key generator</a></li>
<li><a href="Key_schedule" title="Key schedule">Key schedule</a></li>
<li><a href="Key_stretching" title="Key stretching">Key stretching</a></li>
<li><a href="Keygen" title="Keygen">Keygen</a></li>
<li>Machines</li>
<li><a href="Cryptojacking_malware" class="mw-redirect" title="Cryptojacking malware">Cryptojacking malware</a></li>
<li><a href="Ransomware" title="Ransomware">Ransomware</a></li>
<li><a href="Random_number_generation" title="Random number generation">Random number generation</a>
<ul><li><a href="Cryptographically_secure_pseudorandom_number_generator" title="Cryptographically secure pseudorandom number generator">Cryptographically secure pseudorandom number generator</a> (CSPRNG)</li></ul></li>
<li><a href="Pseudorandom_noise" title="Pseudorandom noise">Pseudorandom noise</a> (PRN)</li>
<li><a href="Secure_channel" title="Secure channel">Secure channel</a></li>
<li><a href="Insecure_channel" class="mw-redirect" title="Insecure channel">Insecure channel</a></li>
<li><a href="Subliminal_channel" title="Subliminal channel">Subliminal channel</a></li>
<li><a href="Encryption" title="Encryption">Encryption</a></li>
<li><a href="Decryption" class="mw-redirect" title="Decryption">Decryption</a></li>
<li><a href="End-to-end_encryption" title="End-to-end encryption">End-to-end encryption</a></li>
<li><a href="Harvest_now%2C_decrypt_later" title="Harvest now, decrypt later">Harvest now, decrypt later</a></li>
<li><a href="Information-theoretic_security" title="Information-theoretic security">Information-theoretic security</a></li>
<li><a href="Plaintext" title="Plaintext">Plaintext</a></li>
<li><a href="Codetext" class="mw-redirect" title="Codetext">Codetext</a></li>
<li><a href="Ciphertext" title="Ciphertext">Ciphertext</a></li>
<li><a href="Shared_secret" title="Shared secret">Shared secret</a></li>
<li><a href="Trapdoor_function" title="Trapdoor function">Trapdoor function</a></li>
<li><a href="Trusted_timestamping" title="Trusted timestamping">Trusted timestamping</a></li>
<li><a href="Key-based_routing" title="Key-based routing">Key-based routing</a></li>
<li><a href="Onion_routing" title="Onion routing">Onion routing</a></li>
<li><a href="Garlic_routing" title="Garlic routing">Garlic routing</a></li>
<li><a href="Kademlia" title="Kademlia">Kademlia</a></li>
<li><a href="Mix_network" title="Mix network">Mix network</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Mathematics</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cryptographic_hash_function" title="Cryptographic hash function">Cryptographic hash function</a></li>
<li><a href="Block_cipher" title="Block cipher">Block cipher</a></li>
<li><a href="Stream_cipher" title="Stream cipher">Stream cipher</a></li>
<li><a href="Symmetric-key_algorithm" title="Symmetric-key algorithm">Symmetric-key algorithm</a></li>
<li><a href="Authenticated_encryption" title="Authenticated encryption">Authenticated encryption</a></li>
<li><a href="Public-key_cryptography" title="Public-key cryptography">Public-key cryptography</a></li>
<li><a href="Quantum_key_distribution" title="Quantum key distribution">Quantum key distribution</a></li>
<li><a href="Quantum_cryptography" title="Quantum cryptography">Quantum cryptography</a></li>
<li><a href="Post-quantum_cryptography" title="Post-quantum cryptography">Post-quantum cryptography</a></li>
<li><a href="Message_authentication_code" title="Message authentication code">Message authentication code</a></li>
<li><a href="Cryptographically_secure_pseudorandom_number_generator" title="Cryptographically secure pseudorandom number generator">Random numbers</a></li>
<li><a href="Steganography" title="Steganography">Steganography</a></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><span class="noviewer" typeof="mw:File"><span title="Category"></span></span> Category</li></ul>
</div></td></tr></tbody></table><div></div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-06-05" href="https://en.wikipedia.org/wiki/?title=Transposition_cipher&amp;oldid=1294053345">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>